font

Section: Misc. Reference Manual Pages (5L)
Updated: April 30, 1986
Index Return to Main Contents
 

NAME

Font - font file format for mgr bitmaps.  

SYNOPSIS

#include "font.h"  

DESCRIPTION

MGR font files consist of a font header followed by the bitmap data for each character. The header format is:
struct font_header {
        unsigned char type;             /* font type (magic number) '^v' */
        unsigned char wide;             /* character width (pixels) */
        unsigned char high;             /* char height (pixels) */
        unsigned char baseline; /* pixels from bottom of glyph */
        unsigned char count;    /* number of chars in font */
        char start;                     /* starting char in font */
   };

All of the characters in the font are are stored in a single bitmap, wide x count pixels wide, and high pixels high.  

BUGS

Only fixes width fonts are currently supported.  

SEE ALSO

mgr(1L) bitmap(5L)


 

Index

NAME
SYNOPSIS
DESCRIPTION
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 16:01:34 GMT, March 03, 2023